--Create FStorm Camera From View or Copy ToneMapping settings from Render Setup to Existing FStorm Camera.
-- version 0.1
--Mike Golden, Three Marks, Founder || www.threemarks.com
--
--  TESTED ON 3dsMax 2014, and FStorm 0.3.8a
--
--DESCRIPTION: 
--	A collection of scripts to facilitate working with FStorm
--  One script creates an FStormCamera from the current View, copying the Tone Mapping and DOF settings from the Render Setup,
--  and then locks the transforms of the camera.
--  The second script simply copies the ToneMapping and DOF settings from Render Setup to the current camera.
--
--USAGE:
--  #1 To create a FStormCamera from view, simply execute the script via toolbar or keystroke with a perspective view active.
--  #2 To copy the Render Setup Tonemapping and DOF to an existing camera, simply execute the script with either the desired camera
--  selected, or the desired camera as the active viewport.
--  #3 Simply drag and drop textures from Windows Explorer into the Diffuse, Reflection, Reflection Glossiness, and / or Bump slots
--  of an FStorm Material.  They will come in as standard Bitmaps, which FStorm cannot use.  With that Material Slot still selected,
--  simply run the script by either keystroke or toolbar button, and they will be converted to FStormBitmaps while maintaining the 
--  original file.  This only works with the compact material editor, and only with the aforementioned Texture slots, though you do
--  not need to have all those slots filled for it to work.
--
--INSTALLATION:
-- 1. Click Maxscript / Run Script and choose wherever you downloaded the script to.  You won't see anything happen.
-- 2. Click Customize / Customize User Interface / Keyboard or Toolbars
-- 3. Change the Category to "ThreeMarks"
-- 4. Assign a keystroke or make a toolbar button for any of the scripts to use.
-- 5. Enjoy.
--
--HISTORY:
-- 
-- 16-11-30: first attempt.
-- 16-12-02: Added BitmapToFStormBitmap script